package com.kordar.admin.modular.sys.enums;


import com.kordar.admin.enums.EnumCommonFacade;

public enum AdminStatus implements EnumCommonFacade<Integer> {

    STATUS_FREEZE(0, "冻结"),
    STATUS_ACTIVE(1, "正常");


    private Integer code;
    private String name;

    AdminStatus(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
